﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ITM495.OOExamples.Core.Linq
{
    public static class Filters
    {

        public static IQueryable<MyItem> CreateDateGreatThan(this IQueryable<MyItem> item, DateTime createDate)
        {
            return item.Where(x => x.CreateDate > createDate);
        }

        public static String UpperCase(this string input)
        {
            return input.ToUpper();
        }

        public static String ToUpper(this string input)
        {
            return input.ToLower();
        }

    }
}
